<?php
$this->breadcrumbs=array(
	'Usuários'=>array('index'),
);


?>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'username',
		'profile',
                array(
                       'label'=>'classe',
                       'type'=>'raw',
                       'value'=>Lookup::item('Classe',$model->classe),
                     ),
                array(
                       'name'=>'party',
                       'type'=>'raw',
                       'value'=>Lookup::item('Party',$model->party),
                    ),        
            	 array(
                    'name'=>'img',
                    'type'=>'image',
                    'value'=> Yii::app()->baseUrl. "/images/".$model->img,  
                ),            
	),
)); ?>
<?php
      $this->widget('application.extensions.galleria.Galleria', array(
                               'images'=>$command,
                               'theme'=>'classic',
                               'options'=>array(
                               'image_margin'=>25,
                               'transition'=>'fade',
                             ),
      ));
?>
